Optimal. Leaf size=156 \[ -\frac {3 b e m n}{4 d x}-\frac {b e^2 m n \log (x)}{4 d^2}-\frac {b e n \log \left (f x^m\right )}{2 d x}+\frac {b e^2 n \log \left (1+\frac {d}{e x}\right ) \log \left (f x^m\right )}{2 d^2}+\frac {b e^2 m n \log (d+e x)}{4 d^2}-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )-\frac {b e^2 m n \text {Li}_2\left (-\frac {d}{e x}\right )}{2 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 156, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2473, 2380,
2341, 2379, 2438, 46} \begin {gather*} -\frac {b e^2 m n \text {PolyLog}\left (2,-\frac {d}{e x}\right )}{2 d^2}-\frac {1}{4} \left (\frac {2 \log \left (f x^m\right )}{x^2}+\frac {m}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b e^2 n \log \left (\frac {d}{e x}+1\right ) \log \left (f x^m\right )}{2 d^2}-\frac {b e^2 m n \log (x)}{4 d^2}+\frac {b e^2 m n \log (d+e x)}{4 d^2}-\frac {b e n \log \left (f x^m\right )}{2 d x}-\frac {3 b e m n}{4 d x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 2341
Rule 2379
Rule 2380
Rule 2438
Rule 2473
Rubi steps
\begin {align*} \int \frac {\log \left (f x^m\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{x^3} \, dx &=-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {1}{2} (b e n) \int \frac {\log \left (f x^m\right )}{x^2 (d+e x)} \, dx+\frac {1}{4} (b e m n) \int \frac {1}{x^2 (d+e x)} \, dx\\ &=-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {1}{2} (b e n) \int \left (\frac {\log \left (f x^m\right )}{d x^2}-\frac {e \log \left (f x^m\right )}{d^2 x}+\frac {e^2 \log \left (f x^m\right )}{d^2 (d+e x)}\right ) \, dx+\frac {1}{4} (b e m n) \int \left (\frac {1}{d x^2}-\frac {e}{d^2 x}+\frac {e^2}{d^2 (d+e x)}\right ) \, dx\\ &=-\frac {b e m n}{4 d x}-\frac {b e^2 m n \log (x)}{4 d^2}+\frac {b e^2 m n \log (d+e x)}{4 d^2}-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {(b e n) \int \frac {\log \left (f x^m\right )}{x^2} \, dx}{2 d}-\frac {\left (b e^2 n\right ) \int \frac {\log \left (f x^m\right )}{x} \, dx}{2 d^2}+\frac {\left (b e^3 n\right ) \int \frac {\log \left (f x^m\right )}{d+e x} \, dx}{2 d^2}\\ &=-\frac {3 b e m n}{4 d x}-\frac {b e^2 m n \log (x)}{4 d^2}-\frac {b e n \log \left (f x^m\right )}{2 d x}-\frac {b e^2 n \log ^2\left (f x^m\right )}{4 d^2 m}+\frac {b e^2 m n \log (d+e x)}{4 d^2}-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b e^2 n \log \left (f x^m\right ) \log \left (1+\frac {e x}{d}\right )}{2 d^2}-\frac {\left (b e^2 m n\right ) \int \frac {\log \left (1+\frac {e x}{d}\right )}{x} \, dx}{2 d^2}\\ &=-\frac {3 b e m n}{4 d x}-\frac {b e^2 m n \log (x)}{4 d^2}-\frac {b e n \log \left (f x^m\right )}{2 d x}-\frac {b e^2 n \log ^2\left (f x^m\right )}{4 d^2 m}+\frac {b e^2 m n \log (d+e x)}{4 d^2}-\frac {1}{4} \left (\frac {m}{x^2}+\frac {2 \log \left (f x^m\right )}{x^2}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b e^2 n \log \left (f x^m\right ) \log \left (1+\frac {e x}{d}\right )}{2 d^2}+\frac {b e^2 m n \text {Li}_2\left (-\frac {e x}{d}\right )}{2 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 204, normalized size = 1.31 \begin {gather*} -\frac {a d^2 m+3 b d e m n x-b e^2 m n x^2 \log ^2(x)+2 a d^2 \log \left (f x^m\right )+2 b d e n x \log \left (f x^m\right )-b e^2 m n x^2 \log (d+e x)-2 b e^2 n x^2 \log \left (f x^m\right ) \log (d+e x)+b d^2 m \log \left (c (d+e x)^n\right )+2 b d^2 \log \left (f x^m\right ) \log \left (c (d+e x)^n\right )+b e^2 n x^2 \log (x) \left (m+2 \log \left (f x^m\right )+2 m \log (d+e x)-2 m \log \left (1+\frac {e x}{d}\right )\right )-2 b e^2 m n x^2 \text {Li}_2\left (-\frac {e x}{d}\right )}{4 d^2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.68, size = 2051, normalized size = 13.15
method | result | size |
risch | \(\text {Expression too large to display}\) | \(2051\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 204, normalized size = 1.31 \begin {gather*} \frac {1}{4} \, {\left (\frac {2 \, {\left (\log \left (x\right ) \log \left (\frac {x e}{d} + 1\right ) + {\rm Li}_2\left (-\frac {x e}{d}\right )\right )} b n e^{2}}{d^{2}} + \frac {b n e^{2} \log \left (x e + d\right )}{d^{2}} - \frac {2 \, b n x^{2} e^{2} \log \left (x e + d\right ) \log \left (x\right ) - b n x^{2} e^{2} \log \left (x\right )^{2} + b n x^{2} e^{2} \log \left (x\right ) + 3 \, b d n x e + b d^{2} \log \left ({\left (x e + d\right )}^{n}\right ) + b d^{2} \log \left (c\right ) + a d^{2}}{d^{2} x^{2}}\right )} m + \frac {1}{2} \, {\left (b n {\left (\frac {e \log \left (x e + d\right )}{d^{2}} - \frac {e \log \left (x\right )}{d^{2}} - \frac {1}{d x}\right )} e - \frac {b \log \left ({\left (x e + d\right )}^{n} c\right )}{x^{2}} - \frac {a}{x^{2}}\right )} \log \left (f x^{m}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\ln \left (f\,x^m\right )\,\left (a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )\right )}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________